package com.imagecollector.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.imagecollector.domain.dto.RewardRecordSaveDTO;
import com.imagecollector.domain.dto.RewardRecordSearchDTO;
import com.imagecollector.domain.entity.TaskRewardRecord;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 任务打款记录表 服务类
 * </p>
 *
 * @author wrf
 * @since 2024-07-31
 */
public interface ITaskRewardRecordService extends IService<TaskRewardRecord> {

    List<TaskRewardRecord> getByUserId(Long currentId);

    boolean createRewardRecord(RewardRecordSaveDTO rewardRecordSaveDTO);

    Page<TaskRewardRecord> getPaymentList(RewardRecordSearchDTO rewardRecordSearchDTO);
}
